<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			
			
			var student = new Object();
			
			// console.log(student);
			
			student.name = "张三";
			student.age = 18;
			student.address = "辽宁省铁岭市莲花乡池水沟子";
			student.sayHi = function () {
				console.log(this.name+"说：大家好！");
			}
			console.log(student.name);
			student.sayHi();
		</script>
	</body>
</html>
